<?php
 include_once "../lib/DAL/HoiDongCanBo.php";
 
 class HoiDongCanBoBLL{
     function __construct(){
       
    }
    
    function __destruct(){
        
    }
    
    function setHoiDongCanBoBLL($row){
        $HoiDongCanBo = new HoiDongCanBo();
        $HoiDongCanBo->setHoidongcanbo($row['ma_hoidong_canbo'],$row['ma_hoidongthi'] ,$row['ma_cbgv'] ,$row['ma_vaitro_hoidong'] );
        return $TcPhongThi;
    }
    
    public function insertHoiDongCanBo($HoiDongCanBo){
        $sql="INSERT INTO tbl_hoidongcanbo(
           ma_hoidong_canbo
          ,ma_hoidongthi
          ,ma_cbgv
          ,ma_vaitrohd
            ) VALUES (
               '".$HoiDongCanBo->getma_hoidong_cb()."'
              ,".$HoiDongCanBo->getma_hoidongthi()."
              ,'".$HoiDongCanBo->getma_cbgv()."'  
              ,'".$HoiDongCanBo->getma_vaitro_hoidong()."' 
            )";
    }
 }

?>